import { Component } from 'react';
import { Link } from 'react-router-dom'
import { renderRoutes } from 'react-router-config'
class Home extends Component {
    render() {
        return (
            <div>
                这是home页面

                <Link to="/about">跳转进入about页面</Link>
                {renderRoutes(this.props.route.children)}
            </div>
        )
    }
}

export default Home